package algorithm.model.vo;

public class Team {

	private String id;
	private String password;
	private String name;
	private String classGroup;
	private String className;
	private String member1;
	private String member2;
	private String member3;
	private String introduce;
	private int curNum;

	public Team() {
		super();
	}

	public Team(String id, String password, String name, String classGroup,
			String className, String member1, String member2, String member3,
			String introduce) {
		setId(id);
		setPassword(password);
		setName(name);
		setClassGroup(classGroup);
		setClassName(className);
		setMember1(member1);
		setMember2(member2);
		setMember3(member3);
		setIntroduce(introduce);
	}
	
	public Team(String id, String password, String name, String classGroup,
			String className, String member1, String member2, String member3,
			String introduce, int curNum) {
		this(id, password, name, classGroup, className, member1, member2, member3, introduce);
		setCurNum(curNum);
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getClassGroup() {
		return classGroup;
	}

	public void setClassGroup(String classGroup) {
		this.classGroup = classGroup;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getMember1() {
		return member1;
	}

	public void setMember1(String member1) {
		this.member1 = member1;
	}

	public String getMember2() {
		return member2;
	}

	public void setMember2(String member2) {
		this.member2 = member2;
	}

	public String getMember3() {
		return member3;
	}

	public void setMember3(String member3) {
		this.member3 = member3;
	}

	public String getIntroduce() {
		return introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public int getCurNum() {
		return curNum;
	}

	public void setCurNum(int curNum) {
		this.curNum = curNum;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Team [id=").append(id).append(", password=")
				.append(password).append(", name=").append(name)
				.append(", classGroup=").append(classGroup)
				.append(", className=").append(className).append(", member1=")
				.append(member1).append(", member2=").append(member2)
				.append(", member3=").append(member3).append(", introduce=")
				.append(introduce).append(", curNum=").append(curNum)
				.append("]");
		return builder.toString();
	}

}
